<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>修改学生信息</title>
<link href="css/baitiao.css" rel="stylesheet" type="text/css" />
</head>
<body align="center"
	style="background-image: url(images/a.gif); background-size: 100%; background-repeat: no-repeat;">
	<%
         Object message = request.getAttribute("message");
         if(message!=null && !"".equals(message)){
    %>
	<script type="text/javascript">
              alert("<%=request.getAttribute("message")%>");
         </script>
	<%} %>
	<% 
    String prename=null;
    prename=request.getParameter(prename);
    %>

	<div style="margin-top: 50px">
	</div>
	<div align="center"
		style="width: 700px; height: 350px; margin: auto; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);">

		<div
			style="border: 5px solid black; width: 300px; height: 300px; border-radius: 15px;">
			<form action="Servlet?method=stugai" method="post">
				<h1 style="color: black">修改学生信息</h1>

				<div>
					<th><font color="black">类别：</font></th> <select name="leibie"
						style="height: 40px; width: 50px;">
						<option value="xuehao">学号</option>
						<option value="xingming">姓名</option>
						<option value="xingbie">性别</option>
						<option value="banji">班级</option>
						<option value="zhuanye">专业</option>
					</select>
				</div>

				<div>
					<input type="text" name="neirong"
						style="margin-top: 30px; height: 30px" />
				</div>

				<div style="width: 200px; margin-top: 30px">
					<input type="button" value="返回"
						onclick="location.href='allstudent.jsp'"
						style="float: left; margin-left: 30px; height: 35px; width: 60px" />
					<input type="submit" value="提交" style="height: 35px; width: 60px" />
				</div>
		</div>
		</form>
	</div>
	<div
		style="width: 100%; height: 50px; position: absolute; bottom: 20%;">
		<h1>当前用户：${prename }</h1>
	</div>
	
</body>
</html>